package com.zs.usc.common.log.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum LogTypes implements IEnum<Integer> {

    LOGIN(0, "登录"),
    USER_OPERATION(1, "用户操作"),
    SYSTEM_OPERATION(2, "系统操作");

    private Integer value;
    private String name;

    /**
     * 构造函数
     *
     * @param value
     */
    LogTypes(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    public String getName() {
        return name;
    }
}
